<?php
include './include/common.php';
$backurl = $HTTP_SERVER_VARS ["HTTP_REFERER"];
if ($_POST) {
	$keyword = addslashes ( trim ( $_POST ['keyword'] ) );
	if (empty ( $keyword )) {
		header ( "Location: $backurl" );
		exit ();
	}
	$weahter = Seach_Area ( $keyword );
	if (empty ( $weahter )) {
		header ( "Location: $backurl" );
		exit ();
	} else {
		if ($weahter ['property'] == '0') {
			header ( "Location: /$weahter[pinyin]sheng.html" );
		} else {
			header ( "Location: /$weahter[pinyin].html" );
		}
		exit ();
	}

}
header ( "Location: $backurl" );
exit ();







































































?>


